package com.zdlyh.mapper;

import com.zdlyh.domain.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Entity com.zdlyh.entity.Menu
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> getPermsByUserId(Long userId);

    List<Menu> getAllRouterMenu();

    List<Menu> getRouterMenuTreeByUserId(Long userId);

    List<Long> selectMenuListByRoleId(Long roleId);
}




